/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

/* 
 * Border template specific styles. 
 */
body {
	background: #d8efd7;
	color: #000000;
	font-family: Arial, Helvetica, "Sans Serif";
	margin: 20px 0px 20px 0px;
}


#header {
	background-color: navy;
}

#title {
	color: white; 
	font-size: 18px;
	font-weight: bolder;
}

#container { 
	padding-top: 1em;
	padding-left: 1.5em;
	position: relative;
	z-index: 0;
}

h3.title {
	margin-top: 0em;
	margin-bottom: 1em;
}

table.page {
	border: 1px solid #202020;
	border-collapse: collapse;
	background: #ffffff;
	width: 90%;
}

td.title-icon {
	vertical-align: bottom;
	/*
	padding-left: 14px;
	padding-right: 12px;
	padding-top: 10px;
	padding-bottom: 6px;
	*/
}

td.title-left {
	color: white;
	font-size: 22pt;
	font-weight: bolder;
	vertical-align: middle;
	/*white-space: nowrap; */
	background: #fff url('../images/logo_bg.gif') repeat-x top right;
	
}

td.title-hosted {
	background: #fff url('../images/logo_bg.gif') repeat-x top right;
}

td.title-hosted p, td.title-hosted a {
	color: white;
	font-size: 8pt;
	margin: 1em;
	text-align:right;
	text-decoration: none;
	vertical-align: middle;
	white-space: nowrap;

}

td.header-color {
	font-size: 10pt;
	padding-left: 22px;
	
	padding-top: 2px;
	padding-bottom: 2px;
	font-weight: bolder;
	color: white;
	background: #fff url('../images/body_bg.gif') repeat-x top right;
}

td.content {
	font-size: 10pt;
	padding: 15px;
	border-collapse: separate;
	
}

td.login {
	font-size: 10pt;
	padding: 15px;
	text-align: center;
	border-collapse: separate;
}


#msgDiv {
	background-color: #f0f0f0;
	border: thin solid navy;
	margin: 1em;
	margin-left: 0em;
	margin-right: 2em;
	padding: 1em;
}

.infoMsg {
	border: 1px solid #a7bcd6;
	background-color: #ffffc0;
	margin: 0.5em;
	padding: 0.5em;
}

td, th {
	font-size: 9pt;
}

a:visited {
	color: blue;
}

a.external {
  background: url(/click-examples/assets/images/external.png) center right no-repeat;
  padding-right: 14px;
}

/*
 * Table styles
 */
table.complex td, table.complex th, table.isi td, table.isi th, table.its td, table.its th, table.mars td, table.mars th, table.nocol td, table.nocol th, table.simple td, table.simple th, table.simple input, table.simple select, table.report td, table.report th {
	font-size: 9pt;
	height: 20px;
}

span.pagebanner, span.pagelinks {
	font-size: 9pt;
}

table input {
	font-size: 9pt;
}

/*
 * Form styles
 */
table.errors td, table.fields td, table.fields label, table.fields input, table.fields select, table.fields textarea, table.buttons input {
	font-size: 9pt;
	height: 20px;
}

/*
 * Tabbed Panel styles
 */
a.tb_label {
	font-size: 9pt;
}

/*
 * Example Styles
 */
.code, .codeConfig, .codeDtd, .codeJava, .codeHtml {
	font-family: Courier New, courier;
	font-size: 9pt;
	border: 1px solid #AAAAAA;
	background-color: #FAFAFA;
	padding: 1em;
	margin-top: 1em;
	margin-bottom: 1.5em;
	margin-left: 0em;
	margin-right: 1.5em;
	white-space: pre;
}

.codeJava {
	font-family: Courier New, courier;
	border: 1px solid #AAAAAA;
	background-color: white;
	padding: 1em;
	margin-top: 1em;
	margin-bottom: 1.5em;
	margin-right: 1.5em;
	white-space: pre;
}

.codeHtml 
{
	border: 1px solid #97A9FF;
	background-color: white;
}

/* Java keyword. */
.kw {
    color: #7f0055;
    font-weight: bold;
}

/* Javadoc */
.jd {
    color: #3f5fbf;
}

/* Java comment */
.cm {
    color: #3f7f5f;
}

/* Java String literal */
.st {
    color: #2a00ff;
}
.red { color: red; }

.green { color: green; }

.blue { color: blue; }

.maroon { color: maroon; }

.navy { color: navy; }

/* RICO Accordian Demo */

.accordionTabTitle {
	background-color: #6b79a5;
	color: #ced7ef;
	height: 22px;
	padding-left: 5px;
	border-bottom-color: #182052;
	border-right-style: none;
	border-bottom-style: solid;
	border-left-style: none;
	border-top-style: solid;
	border-top-color: #bdc7e7;
	border-top-width: 1px;
	border-right-width: 0px;
	border-bottom-width: 1px;
	border-left-width: 0px;
	font-size: 12px;
}

.accordionTabTitle {
	background-color: #6b79a5;
	color: #ced7ef;
	height: 22px;
	padding-left: 5px;
	border-bottom-color: #182052;
	border-right-style: none;
	border-bottom-style: solid;
	border-left-style: none;
	border-top-style: solid;
	border-top-color: #bdc7e7;
	border-top-width: 1px;
	border-right-width: 0px;
	border-bottom-width: 1px;
	border-left-width: 0px;
	font-size: 12px;
}

/*
 * Add a 2px space between the Menu icon and Menu text.
 */
.menustyle img.link {
    margin-right: 2px;
}

/* BUTTONS */

.buttons a, .buttons button{
    display:block;
    float:left;
    margin:0 5px 0 0;
    background-color:#f5f5f5;
    border:1px solid #dedede;
    border-top:1px solid #eee;
    border-left:1px solid #eee;

    font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
    font-size:100%;
    line-height:130%;
    text-decoration:none;
    font-weight:bold;
    color:#565656;
    cursor:pointer;
    padding:2px 10px 3px 7px; /* Links */
    /* padding:5px 10px 6px 7px;   */
}
.buttons button{
    width:auto;
    overflow:visible;
    padding:4px 10px 3px 7px; /* IE6 */
}
.buttons button[type]{
    padding:2px 10px 3px 7px; /* Firefox */
    /* padding:5px 10px 5px 7px;  Firefox */
    line-height:17px; /* Safari */
}
*:first-child+html button[type]{
    padding:2px 10px 3px 7px; /* IE7 */
}
.buttons button img, .buttons a img{
    margin:0 3px -3px 0 !important;
    padding:0;
    border:none;
    width:16px;
    height:16px;
}

input {
	background-color: #FFFFFF;
	border: 1px solid #808080;
	color: #0F1F29;
	font-family: Arial, Tahoma, sans-serif;
	font-size: 11px;
	font-weight: normal;
	height: 20px;
	margin: 0px;
}
textarea {
	background-color: #FFFFFF;
	border: 1px solid #808080;
	color: #0F1F29;
	margin: 0px;
}

select {
	font-family: Arial, Tahoma, sans-serif; 
	font-size: 11px; 
	border: 1px solid #808080; 
}

#form-errors {
	font-family: Arial, Tahoma, sans-serif;
	color: red;
	text-align: center;
	
}

				/* Basic Bar Graph */
				.graph { 
					position: relative; /* IE is dumb */
					width: 200px;
					height: 16px; 
					border: 1px solid #B1D632; 
					padding: 2px;  
					margin-bottom: .5em;		
								
				}
				.graph .bar { 
					display: block;	
					position: relative;
					background: #B1D632; 
					text-align: center; 
					color: #333; 
					height: 16px;
					line-height: 18px;
					
					/*
					height: 2em;  
					line-height: 2em;
					*/ 									
				}
				.graph .bar span { position: absolute; left: 1em; } /* This extra markup is necessary because IE doesn't want to follow the rules for overflow: visible */
				
